/**
 * @(#) PrivateVO.as
 *
 * @date		2009. 02. 13.
 * @version		1.0
 * @author		Shin, Yunwoo
 * @description	개인신상 Value Object
 * 				 
 */
package com.skt.common_hr.teamprofile_stc.model.vo
{
	import mx.formatters.PhoneFormatter;
	
	[Bindable]
	public class PrivateVO
	{
		public var CH_NAME:String;			//성명(한자)
		public var EN_NAME:String;			//성명(영문. 이름-성 순)
		public var GESCHT:String;			//성별
		public var REGNO:String;			//주민등록번호 (한국)
		public var FAMDT:Date;				//현재 결혼 여부의 효력 시작일
		public var GBDAT:Date;				//생년월일
		public var GUBUNT:String;			//생일구분(음/양력)
		public var WKADDR:String;			//근무지 주소
		public var BLOODT:String;			//혈액형
		public var TALL:String;				//신장
		public var WEIGHT:String;			//체중
		public var ADDRE1:String;			//본적
		public var ADDRE2:String;			//현주소
		public var ADDRE3:String;			//주민등록주소
		public var SERTYT:String;			//군별
		public var MRANKT:String;			//계급
		public var EARRT:String;			//제대구분
		public var TEL_OFFICE:String;		//회사전화
		public var TEL_HOME:String;			//집전화
		public var TEL_MOBILE1:String;		//핸드폰 1
		public var TEL_MOBILE2:String;		//핸드폰 2
		public var FAX:String;				//FAX
		public var EMAIL_IN:String;			//사내메일
		public var EMAIL_EX:String;			//사외메일
		
		public var ICNUM:String;			//주민번호 (중국)
		public var RACKY:String;			//민족(중국)
		public var RACKYT:String;			//민족텍스트(중국)
		public var GBDEP:String;			//출생지 코드(중국)
		public var GBDEPT:String;			//출생지 텍스트
		public var PCODE:String;			//정치면모 코드(중국)
		public var PCODET:String;			//정치면모 텍스트

		public function getPid(pid:Object):String
		{
			var pidNum:PhoneFormatter = new PhoneFormatter;
			pidNum.formatString = "######-#######";
			
			return pidNum.format(pid);
			
		}
	}
}